package com.whisperly.echotalk.bllmodel;

import androidx.annotation.Keep;
import androidx.annotation.NonNull;

import java.io.Serializable;
@Keep
public class LoginResponse implements Serializable {
    private static final long serialVersionUID = 7282892323898493798L;
    private Boolean success;
    private UserWithChat userWithChat;

    public LoginResponse(Boolean success, UserWithChat userWithChat) {
        this.success = success;
        this.userWithChat = userWithChat;
    }

    public LoginResponse() {
    }

    @Override
    @NonNull
    public String toString() {
        return "LoginResponse{" +
                "success=" + success +
                ", userWithChat=" + userWithChat +
                '}';
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public UserWithChat getUserWithChat() {
        return userWithChat;
    }

    public void setUserWithChat(UserWithChat userWithChat) {
        this.userWithChat = userWithChat;
    }
}